<template>
	<view class="container">
		<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000">
			<swiper-item v-for="item,index in list">
				<view class="swiper-item"><image :src="'../../static'+item.icon" mode="" style="width: 100%; height: 240px;"></image></view>
			</swiper-item>
		</swiper>
		<uni-section title="留言表" sub-title="" type="line">
			<uni-list>
				<uni-list-item title="食堂1"></uni-list-item>
				<uni-list-item title="食堂2"></uni-list-item>
			</uni-list>
		</uni-section>
	</view>
</template>

		<script>
		export default {
			data() {
				return {
					"list": [{
							"id": 1,
							"icon": "../../static/1.png",
						},
						{
							"id": 2,
							"icon": "/images/2.png",
						},
					]
				}
			},
			methods: {
	 
			},
			onLoad: () => {
				uni.onTabBarMidButtonTap(function(e){
					console.log(e)
					
				})
			}
		}
	</script>
<style>
	.container {
		/* padding: 20px; */ /*删除内边距*/
		font-size: 14px;
		line-height: 24px;
	}
</style>
